package JUC;

public class String堆是否新 {
    public static void main(String[] args) {
        String s1 = new String("1234");
        String s2 = new String("1234");
        System.out.println(s1==s2);//false
    }
}
